package com.lky.web.useradmin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Lenovo on 2018/1/16.
 * 根据地址信息匹配对应的方法，返回相应的视图
 */
@Controller
@RequestMapping(value="useradmin")
public class UserAdminController {
    @RequestMapping(value = "/useroperation",method={RequestMethod.GET})
    public String userOperation(){
        return "user/useroperation";
    }

    @RequestMapping(value = "/userlist",method={RequestMethod.GET})
    public String userQuery(){
        return "user/userlist";
    }

    @RequestMapping(value = "/userlogin",method={RequestMethod.GET})
    public String userLogin(){
        return "user/userlogin";
    }

    @RequestMapping(value = "/usermanagent",method={RequestMethod.GET})
    public String userDel(){
        return "user/userlist";
    }

}
